import { createRouter, createWebHashHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'
import studys from '@/views/studys.vue'
import danci from '@/views/danci.vue'
import tonggou from '@/views/tonggou.vue'
import allbei from '@/views/allbei.vue'
import my from '@/views/my.vue'
import XueXi from '@/views/XueXi.vue'
import XueXi1 from '@/views/XueXi1.vue'
import XueXi2 from '@/views/XueXi2.vue'
import FuXi from '@/views/FuXi.vue'
import FuXi1 from '@/views/FuXi1.vue'
import FuXi2 from '@/views/FuXi2.vue'
import XX from '@/views/XX.vue'
import XX1 from '@/views/XX1.vue'
import XX2 from '@/views/XX2.vue'


const routes = [
  {
    path: '/',
    name: 'home',
    component: danci
  },
  {
    path: '/danci',
    name: 'danci',
    component: danci
  },
  {
    path: '/studys',
    name: 'studys',
    component: studys
  },
    {
    path: '/allbei',
    name: 'allbei',
    component: allbei
  },
    {
    path: '/tonggou',
    name: 'tonggou',
    component: tonggou
  },
    {
    path: '/my',
    name: 'my',
    component: my
  },
  {
    path: '/XueXi',
    name: 'XueXi',
    component: XueXi
  },
  {
    path: '/XueXi1',
    name: 'XueXi1',
    component: XueXi1
  },
  {
    path: '/XueXi2',
    name: 'XueXi2',
    component: XueXi2
  },
  {
    path: '/FuXi ',
    name: 'FuXi ',
    component: FuXi 
  },
  {
    path: '/FuXi1 ',
    name: 'FuXi1 ',
    component: FuXi1
  },
  {
    path: '/FuXi2 ',
    name: 'FuXi2 ',
    component: FuXi2
  },
  {
    path: '/XX',
    name: 'XX',
    component:XX
  },
  {
    path: '/XX1',
    name: 'XX1',
    component:XX1
  },
  {
    path: '/XX2',
    name: 'XX2',
    component:XX2
  },
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
